package com.liyongjian.page.dal;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.liyongjian.page.domain.ConfParam;
import com.liyongjian.page.domain.enumm.LiveDieState;

public interface ConfParamRepository extends CrudRepository<ConfParam, Long> {

    List<ConfParam> findByConfIdAndState(Long confId, LiveDieState state);

    List<ConfParam> findByConfIdAndParentIdAndState(Long confId, Long parentId, LiveDieState state);

}
